using System;
using System.Collections.Generic;
using HeadCounter.Armourer.Base;
using MathematicallySafe.HeadCounter.Data.Models;

namespace MathematicallySafe.HeadCounter.Data.Interfaces
{
    public interface ILootTable: IPersistable
    {
        List<LootItem> Items { get; }
        bool HasItem(int id);
        LootItem this[string itemName] { get; }
        LootItem this[int id] { get; }
        event EventHandler<ItemDownloadedEventArgs> ItemDownloaded;
        void DownloadItemAsynch(int id, bool force);
    }
}